export interface Message {
  id: string;
  roomId: string;
  messageType: string;
  content: string;
  userId?: string;
  userName?: string;
  userAvatar?: string;
  userGender?: number;
  payGrade?: number;
  fansLevel?: number;
  fansClubName?: string;
  userBorder?: string;
  giftName?: string;
  giftCount?: number;
  giftValue?: number;
  giftIcon?: string;
  timestamp: string;
  createdAt: string;
  updatedAt: string;
  sessionId?: string;
  extraData?: string;
  room?: {
    id: string;
    title: string;
    streamerName: string;
  };
  user?: any;
}

// MessageFilters 和 MessagesResponse 已移至 SharedTypes.ts

export interface MessageStats {
  totalMessages: number;
  messagesByType: Record<string, number>;
  topGifts: Array<{
    giftName: string;
    count: number;
    totalValue: number;
  }>;
  activeUsers: Array<{
    userName: string;
    messageCount: number;
  }>;
}